package writeor.aidraw.model;

import org.springframework.web.multipart.MultipartFile;

public class Generate_Post {
    private String prompt;
    private String width;
    private String height;
    private String steps;
    private String scale;
    private String sampler;
    private String seed;
    private String n_samples;
    private String strength;//只有在上传图片的情况下需要传参
    private String noise;//只有在上传图片的情况下需要传参
    private MultipartFile image;//只有在上传图片的情况下需要传参
    private String uc;
    private String ucPreset;

    @Override
    public String toString() {
        return "Generate_Post{" +
                "prompt='" + prompt + '\'' +
                ", width='" + width + '\'' +
                ", height='" + height + '\'' +
                ", steps='" + steps + '\'' +
                ", scale='" + scale + '\'' +
                ", sampler='" + sampler + '\'' +
                ", seed='" + seed + '\'' +
                ", n_samples='" + n_samples + '\'' +
                ", strength='" + strength + '\'' +
                ", noise='" + noise + '\'' +
                ", image='" + image + '\'' +
                ", uc='" + uc + '\'' +
                ", ucPreset='" + ucPreset + '\'' +
                ", uc='" + uc + '\'' +
                '}';
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public void setSteps(String steps) {
        this.steps = steps;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public void setSampler(String sampler) {
        this.sampler = sampler;
    }

    public void setSeed(String seed) {
        this.seed = seed;
    }

    public void setN_samples(String n_samples) {
        this.n_samples = n_samples;
    }

    public void setUcPreset(String ucPreset) {
        this.ucPreset = ucPreset;
    }

    public void setUc(String uc) {
        this.uc = uc;
    }

    public String getStrength() {
        return strength;
    }

    public void setStrength(String strength) {
        this.strength = strength;
    }

    public String getNoise() {
        return noise;
    }

    public void setNoise(String noise) {
        this.noise = noise;
    }

    public MultipartFile getImage() {
        return image;
    }

    public void setImage(MultipartFile image) {
        this.image = image;
    }

    public String getPrompt() {
        return prompt;
    }

    public String getWidth() {
        return width;
    }

    public String getHeight() {
        return height;
    }

    public String getSteps() {
        return steps;
    }

    public String getScale() {
        return scale;
    }

    public String getSampler() {
        return sampler;
    }

    public String getSeed() {
        return seed;
    }

    public String getN_samples() {
        return n_samples;
    }

    public String getUcPreset() {
        return ucPreset;
    }

    public String getUc() {
        return uc;
    }
}
